package com.evil.kingdom.service.person.base;

import com.evil.kingdom.pojo.dto.person.base.PersonDto;
import com.evil.kingdom.pojo.entity.person.base.Person;
import com.evil.common.mongo.service.SingleService;

import java.util.Collection;
import java.util.List;

/**
 * 人物
 *
 * @author liyang
 * @date 2024-05-22 16:51
 */
public interface PersonService extends SingleService<Person> {

    PersonDto findDtoByName(String name);

    PersonDto findDtoByPerson(Person person);

    List<PersonDto> findDtoByNames(Collection<String> names);

}
